package com.rmuti.programming.testswt;

import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;

import com.rmuti.programming.ui.ResultGradUI;

public class UITest2 {

	public static void main(String[] args) {
		Display display = new Display();
		ResultGradUI obj = new ResultGradUI(display);
		obj.display();
		obj.open();
		
		Shell shell = obj.getShell();
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch())
				display.sleep();
		}
		display.dispose();			
	}
}
